How to use an async database call to set a variable with useState() and useEffect()

visit shbcf.ru